package com.zhumo.sz.entity.road;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;

/**
 * 城市快速公路 ETC 上行信息
 * id BIGINT 自增id PRIMARY KEY
 * data_id BIGINT 刷卡订单唯一标识
 * card VARCHAR 车牌号码
 * road_id BIGINT 高速公路编码 FOREIGH KEY
 * station_id BIGINT 上行收费站编码 FOREIGH KEY
 * site_id INT 站口id FOREIGH KEY
 * people_card VARCHAR 车户主身份证号码
 * sex VARCHAR 性别
 * num INT 车内人数
 * is_tested_weight TINYINY 是否通过测重
 * through_time DOUBLE 通过收费站时常
 * is_yl_enabled TINYINT 是否绑定银联
 * create_time DATETIME 创建时间
 * update_time DATETIME 更新时间
 */


/**
 * @time  2024-03-30
 * @comment  jaiqi.zhu 重构表字段  一段完整的上下行信息
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "高速公路etc通道上下行",description = "城市快速公路ETC上行信息表")
public class CityExpresswayEtcDetail {

    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("行车记录标识")
    private Long dataId;

    @ApiModelProperty("车牌号码")
    private String card;

    @ApiModelProperty("身份证号")
    private String peopleCard;

    @ApiModelProperty("车内人数")
    private Integer num;

    @ApiModelProperty("进站高速公路id")
    private String startRoadCode;

    @ApiModelProperty("进站收费站编码")
    private String startStationCode;

    @ApiModelProperty("进站收费站通道编码")
    private Integer startSiteCode;

    @ApiModelProperty("进站时长")
    private Double inTime;

    @ApiModelProperty("进站时间")
    private Timestamp startTime;

    @ApiModelProperty("出站高速公路id")
    private String endRoadCode;

    @ApiModelProperty("出站收费站编码")
    private String endStationCode;

    @ApiModelProperty("出站收费站通道编码")
    private Integer endSiteCode;

    @ApiModelProperty("出站时长")
    private Double outTime;

    @ApiModelProperty("出收费站时间")
    private Timestamp endTime;


    @ApiModelProperty("测重是否正常")
    private boolean isTestedWeight;

    @ApiModelProperty("etc是否绑定银联")
    private boolean isYlEnabled;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("更新时间")
    private Timestamp updateTime;
}
